package com.biscuit.page.basicservice.model.entities.mysql;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * @author biscuit
 * @createTime 2024/6/4 9:32
 */
@Getter
@Setter
@TableName(value = "sys_search_log")
public class SysSearchLog extends BaseEntity {

    /**
     * 关键字
     */
    @TableField(value = "keyword")
    private String keyword;

    /**
     * 搜索引擎类型，1百度，
     */
    @TableField("engine_type")
    private Integer engineType;

    /**
     * 联想词列表
     */
    @TableField(value = "suggest_list")
    private String suggestList;

    /**
     * 使用联想词
     */
    @TableField(value = "use_suggest")
    private String useSuggest;

    /**
     * 用户Id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * ip
     */
    @TableField("ip")
    private String ip;

    /**
     * 是否前往，0 未前往，1前往
     */
    @TableField("is_go")
    private Integer isGo;

}
